package com.szyjjk.mapper;

import com.szyjjk.entity.RunMapData;
import com.szyjjk.entity.RunMapDataExample;

import java.util.Date;
import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Param;

public interface RunMapDataMapper {


	int insertList(@Param("list") List<RunMapData> list,@Param("tableName") String tableName);

	void deleteByMapId(Map<String, String> map);

	List<RunMapData> findMapDate(@Param("proName") String proName, @Param("mapId") String mapId, @Param("time")  Date time,@Param("tableName")  String tableName);

	List<RunMapData> findMapDateDistinct(@Param("proName") String proName, @Param("mapId") String mapId, @Param("time")  Date time,@Param("tableName")  String tableName);

	List<RunMapData> findByMapId(@Param("tableName")  String tableName, @Param("mapId")  String mapId );

	void updateById(@Param("tableName")  String tableName,@Param("id") String id,@Param("mapSiteXy")  String mapSiteXy);

}